package com.jsbb.dto.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 角色修改DTO
 *
 * @author w
 * @date 2021-03-05
 */
@Data
public class SysRoleUpdateDto {

    @NotNull
    @ApiModelProperty(value = "ID", required = true)
    private Long id;

    @NotEmpty
    @ApiModelProperty(value = "角色名称", required = true)
    private String roleName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "菜单")
    private List<Long> menuId;
}
